This R file implements the proposed estimator in eqn. (20) of the paper "Instrumental variable estimation of causal hazard ratio" by Wang, Tchetgen Tchetgen, Martinussen and Vansteelandt.

example-data.RData contains an example data set of size 1000

1.main.R: the main file 